#pragma once
#include "opencv.h"
class Functions
{
public:
	Functions(void);
	~Functions(void);
	static void swap_int(int *a, int *b);

	// Bresenham's line algorithm  

//	static void draw_line(Mat *img, int x1, int y1, int x2, int y2, vector<Point>& points);
	static void draw_line(int x1, int y1, int x2, int y2, vector<Point>& points);
	static void getMeasurementPoint1(Point midPoint, Point pt1, Point pt2, Point&out1, Point&out2);
	static void getMeasurementPoint2(Point midPoint, Point pt1, Point pt2, Point&out1, Point&out2);
	static string int2str( int num);
	static double uniform_random(void);
	static double gaussian_random(void);
};

